package designPatterns.P05_适配器模式_Adapter.P01_类适配器_ClassAdapter.adaptors;

import designPatterns.P05_适配器模式_Adapter.P01_类适配器_ClassAdapter.voltages.Voltage;
import designPatterns.P05_适配器模式_Adapter.P01_类适配器_ClassAdapter.voltages.Voltage5V;

/**
 * @author d11yu
 */
public interface Adaptor {
    Voltage convert(Voltage src) throws CloneNotSupportedException, VoltageValueErrorException;

    Integer getInputVoltage();
}
